var refreshTimer;

function Init() {
    System.Gadget.onSettingsClosed = Init;
    System.Gadget.settingsUI = "settings.htm";
    
    confLoad();
    confInit();
    main();
    
    refreshTimer = window.setInterval("main()", 1000 * TIMER_INTERVAL);
}

